object frmShowPart: TfrmShowPart
  Left = 0
  Top = 0
  ClientHeight = 479
  ClientWidth = 959
  Caption = #20135#21697#32534#21495
  OnShow = UniFormShow
  OldCreateOrder = False
  MonitoredKeys.Keys = <>
  OnCreate = UniFormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object UniToolBar1: TUniToolBar
    Left = 0
    Top = 0
    Width = 959
    Height = 45
    Hint = ''
    ButtonHeight = 45
    ButtonWidth = 60
    ShowCaptions = True
    TabOrder = 0
    ParentColor = False
    Color = clBtnFace
    object tbSearch: TUniToolButton
      Left = 0
      Top = 0
      Hint = ''
      ImageIndex = 10
      Caption = #26597#35810
      TabOrder = 4
      OnClick = tbSearchClick
    end
    object UniToolButton3: TUniToolButton
      Left = 60
      Top = 0
      Width = 8
      Hint = ''
      Style = tbsSeparator
      Caption = 'UniToolButton3'
      TabOrder = 5
    end
    object tbOK: TUniToolButton
      Left = 68
      Top = 0
      Hint = ''
      ImageIndex = 22
      Caption = #30830#23450
      TabOrder = 2
      OnClick = tbOKClick
    end
    object UniToolButton2: TUniToolButton
      Left = 128
      Top = 0
      Width = 8
      Hint = ''
      Style = tbsSeparator
      Caption = 'UniToolButton2'
      TabOrder = 3
    end
    object tbExit: TUniToolButton
      Left = 136
      Top = 0
      Hint = ''
      ImageIndex = 41
      Caption = #36864#20986
      TabOrder = 1
      OnClick = tbExitClick
    end
  end
  object UniPanel1: TUniPanel
    Left = 0
    Top = 45
    Width = 959
    Height = 76
    Hint = ''
    Align = alTop
    TabOrder = 1
    Caption = ''
    object edPartno: TUniEdit
      Left = 80
      Top = 10
      Width = 120
      Hint = ''
      Text = ''
      TabOrder = 1
    end
    object UniLabel1: TUniLabel
      Left = 26
      Top = 15
      Width = 48
      Height = 13
      Hint = ''
      Caption = #20135#21697#32534#21495
      TabOrder = 2
    end
    object edPartDesc2: TUniEdit
      Left = 300
      Top = 10
      Width = 120
      Hint = ''
      Text = ''
      TabOrder = 3
    end
    object UniLabel2: TUniLabel
      Left = 26
      Top = 45
      Width = 48
      Height = 13
      Hint = ''
      Caption = #20135#21697#21517#31216
      TabOrder = 4
    end
    object UniLabel3: TUniLabel
      Left = 246
      Top = 15
      Width = 48
      Height = 13
      Hint = ''
      Caption = #35268#26684#22411#21495
      TabOrder = 5
    end
    object UniLabel4: TUniLabel
      Left = 258
      Top = 45
      Width = 36
      Height = 13
      Hint = ''
      Caption = #35746#36135#21495
      TabOrder = 6
    end
    object edPartDesc1: TUniEdit
      Left = 80
      Top = 40
      Width = 120
      Hint = ''
      Text = ''
      TabOrder = 7
    end
    object edPartDesc3: TUniEdit
      Left = 300
      Top = 40
      Width = 120
      Hint = ''
      Text = ''
      TabOrder = 8
    end
    object cbRegular: TUniCheckBox
      Left = 504
      Top = 40
      Width = 200
      Height = 17
      Hint = ''
      Caption = #20351#29992#27491#21017#34920#36798#24335#26597#25214'('#26465#20214#38500#22806')'
      TabOrder = 9
    end
    object edAll: TUniEdit
      Left = 500
      Top = 10
      Width = 120
      Hint = ''
      Text = ''
      TabOrder = 10
    end
    object UniLabel5: TUniLabel
      Left = 470
      Top = 15
      Width = 24
      Height = 13
      Hint = ''
      Caption = #26465#20214
      TabOrder = 11
    end
  end
  object UniPanel2: TUniPanel
    Left = 0
    Top = 121
    Width = 959
    Height = 358
    Hint = ''
    Align = alClient
    TabOrder = 2
    Caption = ''
    object UniDBGrid1: TUniDBGrid
      Left = 1
      Top = 1
      Width = 957
      Height = 356
      Hint = ''
      DataSource = dsQuery
      LoadMask.Message = 'Loading data...'
      Align = alClient
      TabOrder = 1
      OnDblClick = UniDBGrid1DblClick
      Columns = <
        item
          FieldName = 'part_site_flags'
          Title.Alignment = taCenter
          Title.Caption = #32452#32455
          Width = 50
        end
        item
          FieldName = 'part_no'
          Title.Alignment = taCenter
          Title.Caption = #20135#21697#32534#21495
          Width = 100
        end
        item
          FieldName = 'part_desc1'
          Title.Alignment = taCenter
          Title.Caption = #20135#21697#21517#31216
          Width = 200
        end
        item
          FieldName = 'part_desc2'
          Title.Alignment = taCenter
          Title.Caption = #35268#26684#22411#21495
          Width = 100
        end
        item
          FieldName = 'part_desc3'
          Title.Alignment = taCenter
          Title.Caption = #25551#36848'3'
          Width = 150
        end
        item
          FieldName = 'part_unit'
          Title.Alignment = taCenter
          Title.Caption = #21333#20301
          Width = 40
        end
        item
          FieldName = 'part_pack_qty'
          Title.Alignment = taCenter
          Title.Caption = #21253#35013#25968#37327
          Width = 60
        end
        item
          FieldName = 'part_vol'
          Title.Alignment = taCenter
          Title.Caption = #20307#31215
          Width = 60
        end
        item
          FieldName = 'part_wts'
          Title.Alignment = taCenter
          Title.Caption = #37325#37327
          Width = 60
        end
        item
          FieldName = 'part_card_qty'
          Title.Alignment = taCenter
          Title.Caption = #21345#26495#25968#37327
          Width = 80
        end
        item
          FieldName = 'part_calc_class'
          Title.Alignment = taCenter
          Title.Caption = #36731'/'#37325#36135
          Width = 50
        end
        item
          FieldName = 'part_mkt_class'
          Title.Alignment = taCenter
          Title.Caption = #38144#21806#20998#31867
          Width = 80
        end
        item
          FieldName = 'part_flags'
          Title.Alignment = taCenter
          Title.Caption = #29366#24577#26631#35782
          Width = 64
        end>
    end
  end
  object zqpart_mst: TZQuery
    Connection = UniMainModule.zDB
    SQL.Strings = (
      'select *'
      'from part_mst'
      'where part_snowflake > 0')
    Params = <>
    Left = 344
    Top = 8
    object zqpart_mstpart_snowflake: TLargeintField
      FieldName = 'part_snowflake'
      Required = True
    end
    object zqpart_mstpart_site_flags: TIntegerField
      DisplayLabel = #32452#32455
      FieldName = 'part_site_flags'
      Required = True
    end
    object zqpart_mstpart_no: TWideStringField
      DisplayLabel = #20135#21697#32534#21495
      FieldName = 'part_no'
      Required = True
    end
    object zqpart_mstpart_desc1: TWideStringField
      DisplayLabel = #20135#21697#21517#31216
      FieldName = 'part_desc1'
      Size = 64
    end
    object zqpart_mstpart_desc2: TWideStringField
      DisplayLabel = #35268#26684#22411#21495
      FieldName = 'part_desc2'
      Size = 64
    end
    object zqpart_mstpart_desc3: TWideStringField
      DisplayLabel = #25551#36848'3'
      FieldName = 'part_desc3'
      Size = 64
    end
    object zqpart_mstpart_unit: TWideStringField
      DisplayLabel = #21333#20301
      FieldName = 'part_unit'
      Size = 4
    end
    object zqpart_mstpart_pack_qty: TIntegerField
      DisplayLabel = #21253#35013#25968#37327
      FieldName = 'part_pack_qty'
    end
    object zqpart_mstpart_identity: TWideStringField
      DisplayLabel = #20135#21697#29305#24615
      FieldName = 'part_identity'
      Size = 100
    end
    object zqpart_mstpart_contract: TWideStringField
      DisplayLabel = #31614#32422#31867#22411
      FieldName = 'part_contract'
      Size = 512
    end
    object zqpart_mstpart_flags: TIntegerField
      DisplayLabel = #29366#24577#26631#35782
      FieldName = 'part_flags'
    end
    object zqpart_mstpart_vol: TFloatField
      DisplayLabel = #20307#31215
      FieldName = 'part_vol'
    end
    object zqpart_mstpart_wts: TFloatField
      DisplayLabel = #37325#37327
      FieldName = 'part_wts'
    end
    object zqpart_mstpart_card_qty: TIntegerField
      DisplayLabel = #21345#26495#25968#37327
      FieldName = 'part_card_qty'
    end
    object zqpart_mstpart_calc_class: TWideStringField
      DisplayLabel = #36731'/'#37325#36135
      FieldName = 'part_calc_class'
      Size = 3
    end
    object zqpart_mstpart_contract_array: TWideMemoField
      FieldName = 'part_contract_array'
      BlobType = ftWideMemo
    end
    object zqpart_mstpart_location: TWideStringField
      DisplayLabel = #20135#21697#23450#20301
      FieldName = 'part_location'
      Size = 16
    end
    object zqpart_mstpart_mkt_class: TWideStringField
      DisplayLabel = #38144#21806#20998#31867
      FieldName = 'part_mkt_class'
      Size = 32
    end
    object zqpart_mstpart_module_flags: TIntegerField
      DisplayLabel = #27169#22359#26631#35782
      FieldName = 'part_module_flags'
    end
  end
  object dsQuery: TDataSource
    DataSet = zqpart_mst
    Left = 376
    Top = 8
  end
  object zqcor_mst: TZQuery
    Connection = UniMainModule.zDB
    SQL.Strings = (
      'select'
      '  cor_no,'
      '  cor_prefix'
      'from cor_mst'
      'where cor_flags = 1')
    Params = <>
    Left = 312
    Top = 152
    object zqcor_mstcor_no: TWideStringField
      FieldName = 'cor_no'
      Required = True
      Size = 16
    end
    object zqcor_mstcor_prefix: TWideStringField
      FieldName = 'cor_prefix'
      Required = True
      Size = 8
    end
  end
end
